package com.zrrd.jt_admin.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Zhangyk
 * @since 2024-06-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UserLevel对象", description="")
public class UserLevel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "等级名称")
    private String name;

    @ApiModelProperty(value = "等级权重")
    private Integer level;

    @ApiModelProperty(value = "状态：0禁用1启用")
    private Boolean status;

    @ApiModelProperty(value = "折扣")
    private Integer discount;

    @ApiModelProperty(value = "消费满元")
    private Integer maxPrice;

    @ApiModelProperty(value = "消费满次数")
    private Integer maxTimes;


}
